package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单明细对象 jt_outbound_order_item
 * 
 * @author Alan Zhang
 * @date 2025-06-19
 */
public class JtOutboundOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出库单明细id */
    private Long outboundItemId;

    /** 出库单id */
    @Excel(name = "出库单id")
    private Long outboundOrderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String productCode;

    /** 款式编码 */
    @Excel(name = "款式编码")
    private String styleNo;

    /** 商品编码 */
    @Excel(name = "商品名称")
    private String productName;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 仓库数量 */
    @Excel(name = "仓库数量")
    private Long stock;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long qty;

    /** 出库金额 */
    @Excel(name = "出库金额")
    private BigDecimal amount;

    public void setOutboundItemId(Long outboundItemId) 
    {
        this.outboundItemId = outboundItemId;
    }

    public Long getOutboundItemId() 
    {
        return outboundItemId;
    }
    public void setOutboundOrderId(Long outboundOrderId) 
    {
        this.outboundOrderId = outboundOrderId;
    }

    public Long getOutboundOrderId() 
    {
        return outboundOrderId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setStyleNo(String styleNo) 
    {
        this.styleNo = styleNo;
    }

    public String getStyleNo() 
    {
        return styleNo;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("outboundItemId", getOutboundItemId())
            .append("outboundOrderId", getOutboundOrderId())
            .append("productId", getProductId())
            .append("productCode", getProductCode())
            .append("styleNo", getStyleNo())
            .append("unitPrice", getUnitPrice())
            .append("qty", getQty())
            .append("amount", getAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
